package com.dc.system.model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
@ApiModel(value = "角色权限模块模块Model")
public class SysRolePermission  implements Serializable {

   @ApiModelProperty(value = "二级菜单编号")
   private String code;

   @ApiModelProperty(value = "0不是总菜单，1是总菜单")
   private int isMain;

   @ApiModelProperty(value = "创建时间")
   private Date createTime;

   @ApiModelProperty(value = "创建人用户id")
   private int createUserId;

   @ApiModelProperty(value = "创建人用户名")
   private String createUserName;

   @ApiModelProperty(value = "角色id")
   private int fkRoleId;

   @ApiModelProperty(value = "0删除1存在")
   private int isDeleted;

   @ApiModelProperty(value = "权限自增id")
   private int permissionId;

   @ApiModelProperty(value = "权限值")
   private String permissionValue;

   @ApiModelProperty(value = "更新时间")
   private Date updateTime;

   @ApiModelProperty(value = "更新人用户id")
   private int updateUserId;

   @ApiModelProperty(value = "更新人用户名")
   private String updateUserName;

   @ApiModelProperty(value = "版本号")
   private int version;

}
